package com.forekenow.Demo4.exercise0726;

public class Shout {

    public static void main(String[] args) {
        System.out.println("动物名字-----腿的条数-----动物叫");
        Cat cat = new Cat("加菲猫",4);
        cat.shout();

        Duck duck = new Duck("唐小鸭",2);
        duck.shout();
    }

}
